
#ifndef _segment_options
#define _segment_options

#include "resconf.h"
#include "baseclas.h"
#include "textclas.h"

#include "soundfil.h"

enum AlgorithmType{BeamSearch, WindowSearch};
enum StaticGrammarType{WordGrammar, PhonGrammar, SmallVocabularies, NoGrammar};
enum OutputStyle {RES, ARES};

class SegmentOptions
	{ 
		String config_file_name;
	public:
 
		AlgorithmType decoding_algo;
		OutputStyle out_style;
    
		t_index WindowWidth;
		t_index	TreeVolume;

		// beam search option
		t_real BeamCoefficient;
		String FileOfAcousticModels;
	
		int sil_opt;

		void SetOptions(const String& filename);

	};

#endif
